<template>
  <div>
    <el-dialog :visible.sync="isShow" title="提示" center width="30%">
      <span>{{ message }}</span>
      <span slot="footer" class="dialog-footer">
        <el-button @click="onSubmit">{{ firstBtn }}</el-button>
        <el-button @click="isShow === false">{{ secondBtn }}</el-button>
      </span>
    </el-dialog>
  </div>
</template>
<script>
export default {
  props: {
    isShow: {
      type: Boolean,
      default: false
    },
    message: {
      type: String,
      default: null
    },
    firstBtn: {
      type: String,
      default: null
    },
    secondBtn: {
      type: String,
      default: null
    }
  },
  data() {
    return {}
  },
  methods: {
    onSubmit() {

    }
  }
}
</script>
<style lang="less" scoped>

</style>
